enum AuditResult {
  PENDING = "pending",
  APPROVED = "approved",
  REJECTED = "rejected"
}
 
export const isAuditResult = (val: any): val is AuditResult => {
  return [
    AuditResult.PENDING,
    AuditResult.APPROVED,
    AuditResult.REJECTED,
  ].includes(val);
};

export default AuditResult;